package com.szc.demo01;

import com.szc.demo01.pojo.User;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan(basePackages = {"com.szc.demo01.dao"})
@EnableScheduling
public class Demo01ApplicationMain {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(Demo01ApplicationMain.class, args);

    }
}
